DistanceModel

Controls how the gain will falloff

Values

ValueMeaning
DISTANCE_MODEL
INVERSE

Very similar to the exponential curve

INVERSE_CLAMPED
LINEAR

Linear curve, the only which can achieve 0 volume

LINEAR_CLAMPED
EXPONENT

Exponential curve for the model

EXPONENT_CLAMPED

When the distance is below the reference, it will clamp the volume to 1 When the distance is higher than max distance, it will not decrease volume any longer

Meta